package com.xiaoshuidi.cloud.module.rooms.controller.admin.apartment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@Schema(description = "后台 - 修改公寓信息请求对象")
public class ApartmentEditReqVO {
    @Schema(description = "公寓id")
    @NotNull(message = "公寓id不能为空")
    private Long apartmentId;
    @Schema(description = "公寓名称")
    @NotNull(message = "公寓名称不能为空")
    private String area;
    @Schema(description = "所在省份")
    @NotNull(message = "所在省份不能为空")
    private String province;
    @Schema(description = "所在城市")
    @NotNull(message = "所在城市不能为空")
    private String city;
    @Schema(description = "区域")
    @NotNull(message = "区域不能为空")
    private String district;
    @Schema(description = "板块")
    @NotNull(message = "板块不能为空")
    private String block;
    @Schema(description = "详细地址")
    @NotNull(message = "详细地址不能为空")
    private String address;
    @Schema(description = "楼栋号")
    @NotNull(message = "楼栋号不能为空")
    private String buildingNo;
    @Schema(description = "单元")
    @NotNull(message = "单元不能为空")
    private String unitNo;
    @Schema(description = "房源类型")
    @NotNull(message = "房源类型不能为空")
    private String typeName;
}
